package com.shujia.hw;

public class User {
    private int id;



    private String name;
    private int age;
    private int accumulate;
    private int userClazz;

    public User() {
    }

    public User(int id, String name, int age, int accumulate, int userClazz) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.accumulate = accumulate;
        this.userClazz = userClazz;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getAccumulate() {
        return accumulate;
    }

    public void setAccumulate(int accumulate) {
        this.accumulate = accumulate;
    }

    public int getUserClazz() {
        return userClazz;
    }

    public void setUserClazz(int userClazz) {
        this.userClazz = userClazz;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                "name='" + name + '\'' +
                ", age=" + age +
                ", accumulate=" + accumulate +
                ", userClazz=" + userClazz +
                '}';
    }
}
